package org.balabala.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.balabala.user.entity.FollowInfoEntity;
import org.balabala.user.utils.PageUtils;
import org.balabala.user.utils.Resp;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author hanshanxi
 * @email 3176988793@qq.com
 * @date 2021-09-04 09:31:53
 */
public interface FollowInfoService extends IService<FollowInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByUid(Map<String, Object> map);

    Resp saveInfo(Long fanId, Long followedId);


    PageUtils queryPageByFanId(HashMap<String,Object> hashMap);

    PageUtils queryPageByFollowedId(HashMap<String,Object> hashMap);

    Resp delete(Long fanId, Long followId);
}

